package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xnew.bean.common.FileInfo;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 内控制度信息表
* @DateTime: 2022/5/30
* @Params:
* @Return
*/
@TableName("t10_inctrl_system_info")
public class InctrlSystemInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 内控制度信息编号
    */
    @TableId("inctrl_system_info_no")
    private String inctrlSystemInfoNo;

    /**
    * 机构用户编号
    */
    private String orgUserNo;

    /**
    * 信息审核状态编号
    */
    private String infsubAuditStatusCode;

    /**
    * 内控制度信息录入日期
    */
    private String infoInputTime;

    /**
    * 内控制度信息更新日期
    */
    private String infoUpdateTime;

    /**
    * 内控制度名称
    */
    private String inctrlSystemName;

    /**
    * 内控制度发布日期
    */
    private String inctrlSystemRlsDate;

    /**
    * 内控制度信息录入人
    */
    private String infoInputPsnNo;

    /**
    * 内控制度信息更新人
    */
    private String infoUpdatePsnNo;

    /**
    * 是否是关闭状态（1：是 0：否）
    */
    private String isCloseStatus;

    @TableField(exist = false)
    private List<AuditLog> auditLogList;


    public List<AuditLog> getAuditLogList() {
        return auditLogList;
    }

    public void setAuditLogList(List<AuditLog> auditLogList) {
        this.auditLogList = auditLogList;
    }

    @TableField(exist = false)
    private List<MemInfoChgHist> histList;

    public List<MemInfoChgHist> getHistList() {
        return histList;
    }

    public void setHistList(List<MemInfoChgHist> histList) {
        this.histList = histList;
    }

    @TableField(exist = false)
    private List<FileInfo> fileList;

    public List<FileInfo> getFileList() {
        return fileList;
    }

    public void setFileList(List<FileInfo> fileList) {
        this.fileList = fileList;
    }

    public InctrlSystemInfo() {
    }

    public String getInctrlSystemInfoNo() {
        return inctrlSystemInfoNo;
    }

    public void setInctrlSystemInfoNo(String inctrlSystemInfoNo) {
        this.inctrlSystemInfoNo = inctrlSystemInfoNo;
    }

    public String getOrgUserNo() {
        return orgUserNo;
    }

    public void setOrgUserNo(String orgUserNo) {
        this.orgUserNo = orgUserNo;
    }

    public String getInfsubAuditStatusCode() {
        return infsubAuditStatusCode;
    }

    public void setInfsubAuditStatusCode(String infsubAuditStatusCode) {
        this.infsubAuditStatusCode = infsubAuditStatusCode;
    }

    public String getInfoInputTime() {
        return infoInputTime;
    }

    public void setInfoInputTime(String infoInputTime) {
        this.infoInputTime = infoInputTime;
    }

    public String getInfoUpdateTime() {
        return infoUpdateTime;
    }

    public void setInfoUpdateTime(String infoUpdateTime) {
        this.infoUpdateTime = infoUpdateTime;
    }

    public String getInctrlSystemName() {
        return inctrlSystemName;
    }

    public void setInctrlSystemName(String inctrlSystemName) {
        this.inctrlSystemName = inctrlSystemName;
    }

    public String getInctrlSystemRlsDate() {
        return inctrlSystemRlsDate;
    }

    public void setInctrlSystemRlsDate(String inctrlSystemRlsDate) {
        this.inctrlSystemRlsDate = inctrlSystemRlsDate;
    }

    public String getInfoInputPsnNo() {
        return infoInputPsnNo;
    }

    public void setInfoInputPsnNo(String infoInputPsnNo) {
        this.infoInputPsnNo = infoInputPsnNo;
    }

    public String getInfoUpdatePsnNo() {
        return infoUpdatePsnNo;
    }

    public void setInfoUpdatePsnNo(String infoUpdatePsnNo) {
        this.infoUpdatePsnNo = infoUpdatePsnNo;
    }

    public String getIsCloseStatus() {
        return isCloseStatus;
    }

    public void setIsCloseStatus(String isCloseStatus) {
        this.isCloseStatus = isCloseStatus;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"infsubAuditStatusCode","auditLogList"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0149","LIST"};
    }
}